home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 4975 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.7 KB

  1. Path: cs.ruu.nl!usenet
  2. From: wsldanke@cs.ruu.nl (Wessel Dankers)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: FindTask() VERY IMPORTANT
  5. Date: 07 Mar 96 19:46:15 +0100
  6. Organization: Dept of Computer Science, Utrecht University, The Netherlands
  7. Message-ID: <1219.6640T1186T779@cs.ruu.nl>
  8. References: <4hfvff$sj6@werple.net.au> <192.6637T931T2098@academy.bastad.se>?20@
  9.     <4hm7qm$otm@news.uni-paderborn.de><4hmpfb$5pi@news.xs4all.nl> <MlDlTdS00iWS45Xc5x@andrew.cmu.edu>
  10. NNTP-Posting-Host: anx1p6.cc.ruu.nl
  11. X-Newsreader: THOR 2.22 (Amiga TCP/IP)
  12.  
  13.  
  14. Berend Ozceri <bo24+@andrew.cmu.edu> wrote:
  15. > Excerpts from netnews.comp.sys.amiga.programmer: 7-Mar-96 Re: FindTask()
  16. > VERY IMPORTANT by Marco Nelissen@xs1.xs4al
  17. >> Ralph Schmidt (laire@basis.owl.de) wrote:
  18. >> : Never ever use SysBase->ThisTask for your programs. It will be
  19. >> : banned/forbidden in the next OS release.
  20. >>
  21. >> Says who? Why would a future OS not use this field?
  22.  
  23. > Any changes in the Exec micro-kernel, especially in the scheduler,
  24. > especially leaning towards multiprocessor support would make that field
  25. > obsolete.
  26.  
  27. exec/execbase.h:
  28.   struct  Task *ThisTask; /* pointer to current task (readable) */
  29.  
  30. Since it is documented as readable, my guess is that it will remain readable,
  31. AT will probably kludge it if they change the scheduler. On multiprocessor-
  32. computers, they could try to fix it using the MMU.
  33.  
  34. --
  35. Wessel Dankers                 _\\|//_            <wsldanke@cs.ruu.nl>
  36.                                ///|\\\
  37. ----------------------------oOO--(_)---OOo----------------------------
  38. `Never imagine yourself not to be otherwise than what it might appear
  39. to others that what you were or might have been was not otherwise than
  40. what you had been would have appeared to them to be otherwise.'
  41.  
  42.